package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the CC_ELECTORNIC_PRESCRIBE database table.
 * 
 */
@Entity
@Table(name="CC_ELECTORNIC_PRESCRIBE")
@NamedQuery(name="CcElectornicPrescribe.findAll", query="SELECT c FROM CcElectornicPrescribe c")
public class CcElectornicPrescribe implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_ELECTORNIC_PRESCRIBE_EPRESCRIBEID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_ELECTORNIC_PRESCRIBE_EPRESCRIBEID_GENERATOR")
	private long eprescribeid;

	@Column(name="DRUG_ID")
	private String drugId;

	private BigDecimal edmenoy;

	@Column(name="ELE_ID")
	private BigDecimal eleId;

	@Column(name="EP_AMOUNT")
	private BigDecimal epAmount;

	@Column(name="PRESCRIBE_NAME")
	private String prescribeName;

	public CcElectornicPrescribe() {
	}

	public long getEprescribeid() {
		return this.eprescribeid;
	}

	public void setEprescribeid(long eprescribeid) {
		this.eprescribeid = eprescribeid;
	}

	public String getDrugId() {
		return this.drugId;
	}

	public void setDrugId(String drugId) {
		this.drugId = drugId;
	}

	public BigDecimal getEdmenoy() {
		return this.edmenoy;
	}

	public void setEdmenoy(BigDecimal edmenoy) {
		this.edmenoy = edmenoy;
	}

	public BigDecimal getEleId() {
		return this.eleId;
	}

	public void setEleId(BigDecimal eleId) {
		this.eleId = eleId;
	}

	public BigDecimal getEpAmount() {
		return this.epAmount;
	}

	public void setEpAmount(BigDecimal epAmount) {
		this.epAmount = epAmount;
	}

	public String getPrescribeName() {
		return this.prescribeName;
	}

	public void setPrescribeName(String prescribeName) {
		this.prescribeName = prescribeName;
	}

}